import { clearLocalStorage, getProjectContext } from '@/utils/common'

export default {
  buttons: [
    {
      i18nName: 'Layout.globalAlert.login',
      type: 'primary',
      callback: ({ vm, dialog }) => {
        const url = location.origin + getProjectContext()
        clearLocalStorage()
        window.open(url, '_self')
      }
    }
  ],
  showClose: false
}
